<template>
    <div>
        <common-title :stitle="alldata.stitle"></common-title>
        <table>
            <tr v-for="(row, index) in this.alldata.datas" :key="'row' + index">
                <td :style="{'padding': '3px', 'border': '1px solid rgb(237, 240, 246)','white-space': 'nowrap', 'text-align': index == 0 ? 'center' : 'left'}" v-for="(cell, i) in row" :key="'row' + index + 'cell' + i">
                    {{ cell }}
                </td>
            </tr>
        </table>
    </div>
</template>
<script>
import Vue from 'vue'
import commonTitleMixin from '../mixins/commonTitleMixin'
export default {
    name: 'diamond',
    data: function () {
        return {
        }
    },
    props: ['alldata'],
    mixins: [commonTitleMixin],
    mounted () {
        // //console.log('report', this.alldata)
    },
    methods: {
    }
}
</script>
